﻿/*
************************************************************
CreateDate  *  Author        *  Content
2008-07-04  *  Donne.Yang  *  Query data and execute data
************************************************************
NO   *  UpdateDate   *  Author        *  Content

*************************************************************
*/
using System;
using System.Text;

namespace Stc.Dbo
{
    public class Configuration
    {
        private static string strOracleConn;
        private static string strOleConn;
        private static string strOdbcConn;
        private static string strMsSqlConn;
        private static string strMailHost;
        private static string strLocationHost;
        private static string strProjectName;
        private static string strLogPath;

        public Configuration()
        {
        }

        /// <summary>
        /// Oracle DB
        /// </summary>
        public static string OracleConn
        {
            get
            {
                return strOracleConn;
            }
            set
            {
                strOracleConn = value;
            }
        }

        /// <summary>
        /// Ole DB
        /// </summary>
        public static string OleConn
        {
            get
            {
                return strOleConn;
            }
            set
            {
                strOleConn = value;
            }
        }

        /// <summary>
        /// ODBC
        /// </summary>
        public static string OdbcConn
        {
            get
            {
                return strOdbcConn;
            }
            set
            {
                strOdbcConn = value;
            }
        }

        /// <summary>
        /// MS-SQL DB
        /// </summary>
        public static string MsSqlConn
        {
            get
            {
                return strMsSqlConn;
            }
            set
            {
                strMsSqlConn = value;
            }
        }

        /// <summary>
        /// Mail server IP
        /// </summary>
        public static string MailHost
        {
            get
            {
                return strMailHost;
            }
            set
            {
                strMailHost = value;
            }
        }

        /// <summary>
        /// Source code server IP
        /// </summary>
        public static string LocationHost
        {
            get
            {
                return strLocationHost;
            }
            set
            {
                strLocationHost = value;
            }
        }

        /// <summary>
        /// 项目名称
        /// </summary>
        public static string ProjectName
        {
            get
            {
                return strProjectName;
            }
            set
            {
                strProjectName = value;
            }
        }

        /// <summary>
        /// 日志路径
        /// </summary>
        public static string LogPath
        {
            get
            {
                return strLogPath;
            }
            set
            {
                strLogPath = value;
            }
        }
    }
}
